import React from 'react';
import { Switch, Route } from "react-router-dom";
import ListPage from './ApprovalList';

export const Region = {
  text: '申请审批',
};

const ApprovalComp = ({match}) => (
  <Switch>
    <Route path={`${match.url}/list`} component={ListPage} />
  </Switch>
);

export default ApprovalComp;